<template>
  <div>
    <!--<div class="row page-titles">
      <div class="col-md-5 align-self-center">
        <h4 class="text-themecolor">欢迎您</h4>
      </div>
    </div>
    <div class="row">

    </div>
    <password-alert ref='operate_password' ></password-alert>-->
  </div>
</template>
<script>
  import serAccess from '../serves/api-access'
  import PasswordAlert from './Auth/PasswordAlert.vue'
  import {mapGetters} from 'vuex'
  export default{
    data(){
      return {
        screenShow: false,
        id: '',
        info: {},
      }
    },
    computed: {
      ...mapGetters({
        "userData":"user"
      }),
    },
    mounted(){

    },
    beforeMount(){
        this.$router.push({name:'conferenceList'})
    },
    methods: {
      init(){
        this.$set(this, 'screenShow', false);
        serAccess.info({
          id:this.userData.workerId
        }).then((res)=> {
          if (res.code == 1) {
            this.info = res.data || {};
            this.$set(this, 'screenShow', true);
          } else {
            this.$Message.error(res.message);
            this.info = {};
          }
        });
      },
      operateEditPasswordChange(){
        this.$refs['operate_password'].handleOpen({})
      },
    },
    /*watch:{
     '$route'(){
     console.log(this.cType);
     }
     },*/
    components: {
      PasswordAlert
    }
  }
</script>
<style lang='less'>
  .social-profile-home {
    background: rgba(255, 255, 255, 0.3);
    color: rgb(69, 87, 103);
    font-weight: bold;
  }
</style>